﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Model
{
    using System.ComponentModel.DataAnnotations.Schema;

    /// <summary>
    /// 物资采购
    /// </summary>
    using Volo.Abp.Domain.Entities;
    public class Procurement : Entity<int>
    {
        /// <summary>
        /// 物资名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int ProcurementTypeId { get; set; }
        /// <summary>
        /// 材质
        /// </summary>
        public string Material { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 产地
        /// </summary>
        public string Origin { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 期望交付日期
        /// </summary>
        public DateTime Deliver { get; set; }
        /// <summary>
        /// 用途描述
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public string Applicant { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 类型表
        /// </summary>
        [NotMapped]
        public string TypeName { get; set; }
        /// <summary>
        /// 类型表
        /// </summary>
        public int Id { get; set; }
    }
}
